import * as apiService from '@/services/api'


/**
 * 取得IP重叠列表
 * @param params
 * @returns {Promise<*>}
 */
const riskIpOverlayListApi = (params) => {
  return apiService.post(api.RISK_IP_OVERLAP_LIST,
    params);
};

/**
 * 取得同设备号查询列表
 * @param params
 * @returns {Promise<*>}
 */
const riskDeviceConflictListApi = (params) => {
  return apiService.post(api.RISK_DEVICE_CONFLICT_LIST,
    params);
};

/**
 * 取得返奖率列表
 * @param params
 * @returns {Promise<*>}
 */
const riskAwardRateListApi = (params) => {
  return apiService.post(api.RISK_AWARD_RATE_LIST,
    params);
};

/**
 * 取得用户登录日志
 * @param params
 * @returns {Promise<*>}
 */
const riskUserLoginListApi = (params) => {
  return apiService.post(api.RISK_USER_LOGIN_LIST,
    params);
};

export {
  riskIpOverlayListApi,
  riskDeviceConflictListApi,
  riskAwardRateListApi,
  riskUserLoginListApi,
};
